package com.campus.service;


import com.campus.pojo.dto.StudyRoomDTO;
import com.campus.pojo.dto.StudyRoomPageQueryDTO;
import com.campus.pojo.entity.StudyRoom;
import com.campus.pojo.vo.StudyRoomVO;
import com.campus.result.PageResult;

import java.util.List;

public interface StudyRoomService {

    void save(StudyRoomDTO studyRoomDTO);

    void deleteByIds(List<Long> ids);

    PageResult<StudyRoomVO> pageQuery(StudyRoomPageQueryDTO studyRoomPageQueryDTO);

    void updateStatus(Long id, Integer status);

    StudyRoom getById(Long id);

    void update(StudyRoomDTO studyRoomDTO);
}
